package com.ck.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "custom")
public class CustomProperties {
    /**
     * 文件临时存放目录
     */
    private String fileTempSaveDir;
    /**
     * cookie名称
     */
    private String cookieName;
    /**
     * 加密密钥
     */
    private String secretKey;
    /**
     * 核心数
     */
    private Integer asyncCorePoolSize;
    /**
     * 最大数
     */
    private Integer asyncMaxPoolSize;
    /**
     * 队列数
     */
    private Integer asyncQueuePoolSize;
    /**
     * 节目最大值500MB（单位字节）
     */
    private Long maxProgramSize;
    /**
     * 视频最大值50MB（单位字节）
     */
    private Long maxVideoSize;
    /**
     * 音频最大值50MB(单位/字节)
     */
    private Long audioMaxSize;

    private List<String> programTemplateResolution;

    /**
     * 节目编辑服务端地址
     */
    private String programEditServerDomain;
    /**
     * 节目编辑客户端地址-编辑节目
     */
    private String programEditClientDomain;
    /**
     * 节目编辑客户端地址-节目投放
     */
    private String programPushClientDomain;
    /**
     * 节目编辑客户端地址-节目发布
     */
    private String programCheckClientDomain;
    /**
     * 节目编辑客户端地址-节目审批
     */
    private String programVerifyClientDomain;
    /**
     * 节目编辑客户端地址-节目详情
     */
    private String programDetailClientDomain;
    /**
     * 节目编辑客户端按钮上一步uri
     */
    private String programEditClientBackUri;
    /**
     * 节目编辑客户端按钮下一步uri
     */
    private String programEditClientNextUri;
    /**
     * 节目用户自定义模板默认背景图片地址
     */
    private String programTemplateDefaultBackgroundUri;

    public String getFileTempSaveDir() {
        return fileTempSaveDir;
    }

    public void setFileTempSaveDir(String fileTempSaveDir) {
        this.fileTempSaveDir = fileTempSaveDir;
    }

    public String getCookieName() {
        return cookieName;
    }

    public void setCookieName(String cookieName) {
        this.cookieName = cookieName;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Integer getAsyncCorePoolSize() {
        return asyncCorePoolSize;
    }

    public void setAsyncCorePoolSize(Integer asyncCorePoolSize) {
        this.asyncCorePoolSize = asyncCorePoolSize;
    }

    public Integer getAsyncMaxPoolSize() {
        return asyncMaxPoolSize;
    }

    public void setAsyncMaxPoolSize(Integer asyncMaxPoolSize) {
        this.asyncMaxPoolSize = asyncMaxPoolSize;
    }

    public Integer getAsyncQueuePoolSize() {
        return asyncQueuePoolSize;
    }

    public void setAsyncQueuePoolSize(Integer asyncQueuePoolSize) {
        this.asyncQueuePoolSize = asyncQueuePoolSize;
    }

    public Long getMaxProgramSize() {
        return maxProgramSize;
    }

    public void setMaxProgramSize(Long maxProgramSize) {
        this.maxProgramSize = maxProgramSize;
    }

    public Long getMaxVideoSize() {
        return maxVideoSize;
    }

    public void setMaxVideoSize(Long maxVideoSize) {
        this.maxVideoSize = maxVideoSize;
    }

    public List<String> getProgramTemplateResolution() {
        return programTemplateResolution;
    }

    public void setProgramTemplateResolution(List<String> programTemplateResolution) {
        this.programTemplateResolution = programTemplateResolution;
    }

    public Long getAudioMaxSize() {
        return audioMaxSize;
    }

    public void setAudioMaxSize(Long audioMaxSize) {
        this.audioMaxSize = audioMaxSize;
    }

    public String getProgramEditClientDomain() {
        return programEditClientDomain;
    }

    public void setProgramEditClientDomain(String programEditClientDomain) {
        this.programEditClientDomain = programEditClientDomain;
    }

    public String getProgramEditClientBackUri() {
        return programEditClientBackUri;
    }

    public void setProgramEditClientBackUri(String programEditClientBackUri) {
        this.programEditClientBackUri = programEditClientBackUri;
    }

    public String getProgramEditClientNextUri() {
        return programEditClientNextUri;
    }

    public void setProgramEditClientNextUri(String programEditClientNextUri) {
        this.programEditClientNextUri = programEditClientNextUri;
    }

    public String getProgramEditServerDomain() {
        return programEditServerDomain;
    }

    public void setProgramEditServerDomain(String programEditServerDomain) {
        this.programEditServerDomain = programEditServerDomain;
    }

    public String getProgramPushClientDomain() {
        return programPushClientDomain;
    }

    public void setProgramPushClientDomain(String programPushClientDomain) {
        this.programPushClientDomain = programPushClientDomain;
    }

    public String getProgramCheckClientDomain() {
        return programCheckClientDomain;
    }

    public void setProgramCheckClientDomain(String programCheckClientDomain) {
        this.programCheckClientDomain = programCheckClientDomain;
    }

    public String getProgramVerifyClientDomain() {
        return programVerifyClientDomain;
    }

    public void setProgramVerifyClientDomain(String programVerifyClientDomain) {
        this.programVerifyClientDomain = programVerifyClientDomain;
    }

    public String getProgramDetailClientDomain() {
        return programDetailClientDomain;
    }

    public void setProgramDetailClientDomain(String programDetailClientDomain) {
        this.programDetailClientDomain = programDetailClientDomain;
    }

    public String getProgramTemplateDefaultBackgroundUri() {
        return programTemplateDefaultBackgroundUri;
    }

    public void setProgramTemplateDefaultBackgroundUri(String programTemplateDefaultBackgroundUri) {
        this.programTemplateDefaultBackgroundUri = programTemplateDefaultBackgroundUri;
    }
}
